package game.metalmax.ui.common
{
	import fl.controls.UIScrollBar;
	
	import showtime.framework.manager.AssetManager;

	public class ScrollBar001 extends UIScrollBar
	{
		public function ScrollBar001()
		{
			var d:Object = getStyleDefinition();
			setStyle("trackDisabledSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_TRACK"));
			setStyle("trackOverSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_TRACK"));
			setStyle("trackUpSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_TRACK"));
			
			setStyle("thumbUpSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_THUMB_UP"));
			setStyle("thumbDownSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_THUMB_DOWN"));
			setStyle("thumbOverSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_THUMB_OVER"));
			
			setStyle("downArrowDownSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_BOTTOM_ARROW_DOWN"));
			setStyle("downArrowUpSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_BOTTOM_ARROW_UP"));
			setStyle("downArrowDisabledSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_BOTTOM_ARROW_UP"));
			setStyle("downArrowOverSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_BOTTOM_ARROW_OVER"));
			
			setStyle("upArrowDownSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_TOP_ARROW_DOWN"));
			setStyle("upArrowUpSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_TOP_ARROW_UP"));
			setStyle("upArrowDisabledSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_TOP_ARROW_UP"));
			setStyle("upArrowOverSkin", AssetManager.getInstance().getClass("MAIN_SPRITE_SCROLL_TOP_ARROW_OVER"));
		}
	}
}